<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:118:"/Users/zhangqiang/Desktop/04-project/10-fastadmin/fastadmin-demo/public/../application/admin/view/dashboard/index.html";i:1589017343;s:107:"/Users/zhangqiang/Desktop/04-project/10-fastadmin/fastadmin-demo/application/admin/view/layout/default.html";i:1583049507;s:104:"/Users/zhangqiang/Desktop/04-project/10-fastadmin/fastadmin-demo/application/admin/view/common/meta.html";i:1583049507;s:106:"/Users/zhangqiang/Desktop/04-project/10-fastadmin/fastadmin-demo/application/admin/view/common/script.html";i:1583049507;}*/ ?>
<!DOCTYPE html>
<html lang="<?php echo $config['language']; ?>">
    <head>
        <meta charset="utf-8">
<title><?php echo (isset($title) && ($title !== '')?$title:''); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="renderer" content="webkit">

<link rel="shortcut icon" href="/assets/img/favicon.ico" />
<!-- Loading Bootstrap -->
<link href="/assets/css/backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.css?v=<?php echo \think\Config::get('site.version'); ?>" rel="stylesheet">

<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
<!--[if lt IE 9]>
  <script src="/assets/js/html5shiv.js"></script>
  <script src="/assets/js/respond.min.js"></script>
<![endif]-->
<script type="text/javascript">
    var require = {
        config:  <?php echo json_encode($config); ?>
    };
</script>
    </head>

    <body class="inside-header inside-aside <?php echo defined('IS_DIALOG') && IS_DIALOG ? 'is-dialog' : ''; ?>">
        <div id="main" role="main">
            <div class="tab-content tab-addtabs">
                <div id="content">
                    <div class="row">
                        <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                            <section class="content-header hide">
                                <h1>
                                    <?php echo __('Dashboard'); ?>
                                    <small><?php echo __('Control panel'); ?></small>
                                </h1>
                            </section>
                            <?php if(!IS_DIALOG && !\think\Config::get('fastadmin.multiplenav')): ?>
                            <!-- RIBBON -->
                            <div id="ribbon">
                                <ol class="breadcrumb pull-left">
                                    <li><a href="dashboard" class="addtabsit"><i class="fa fa-dashboard"></i> <?php echo __('Dashboard'); ?></a></li>
                                </ol>
                                <ol class="breadcrumb pull-right">
                                    <?php foreach($breadcrumb as $vo): ?>
                                    <li><a href="javascript:;" data-url="<?php echo $vo['url']; ?>"><?php echo $vo['title']; ?></a></li>
                                    <?php endforeach; ?>
                                </ol>
                            </div>
                            <!-- END RIBBON -->
                            <?php endif; ?>
                            <div class="content">
                                <style type="text/css">
    .sm-st {
        background: #fff;
        padding: 20px;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        margin-bottom: 20px;
        -webkit-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.05);
        box-shadow: 0 1px 0px rgba(0, 0, 0, 0.05);
    }
    
    .sm-st-icon {
        width: 60px;
        height: 60px;
        display: inline-block;
        line-height: 60px;
        text-align: center;
        font-size: 30px;
        background: #eee;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        float: left;
        margin-right: 10px;
        color: #fff;
    }
    
    .sm-st-info {
        font-size: 12px;
        padding-top: 2px;
    }
    
    .sm-st-info span {
        display: block;
        font-size: 24px;
        font-weight: 600;
    }
    
    .orange {
        background: #fa8564 !important;
    }
    
    .tar {
        background: #45cf95 !important;
    }
    
    .sm-st .green {
        background: #86ba41 !important;
    }
    
    .pink {
        background: #AC75F0 !important;
    }
    
    .yellow-b {
        background: #fdd752 !important;
    }
    
    .stat-elem {
        background-color: #fff;
        padding: 18px;
        border-radius: 40px;
    }
    
    .stat-info {
        text-align: center;
        background-color: #fff;
        border-radius: 5px;
        margin-top: -5px;
        padding: 8px;
        -webkit-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.05);
        box-shadow: 0 1px 0px rgba(0, 0, 0, 0.05);
        font-style: italic;
    }
    
    .stat-icon {
        text-align: center;
        margin-bottom: 5px;
    }
    
    .st-red {
        background-color: #F05050;
    }
    
    .st-green {
        background-color: #27C24C;
    }
    
    .st-violet {
        background-color: #7266ba;
    }
    
    .st-blue {
        background-color: #23b7e5;
    }
    
    .stats .stat-icon {
        color: #28bb9c;
        display: inline-block;
        font-size: 26px;
        text-align: center;
        vertical-align: middle;
        width: 50px;
        float: left;
    }
    
    .stat {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
        margin-right: 10px;
    }
    
    .stat .value {
        font-size: 20px;
        line-height: 24px;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: 500;
    }
    
    .stat .name {
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .stat.lg .value {
        font-size: 26px;
        line-height: 28px;
    }
    
    .stat.lg .name {
        font-size: 16px;
    }
    
    .stat-col .progress {
        height: 2px;
    }
    
    .stat-col .progress-bar {
        line-height: 2px;
        height: 2px;
    }
    
    .item {
        padding: 30px 0;
    }
</style>
<div class="panel panel-default panel-intro">
    <div class="panel-heading">
        <?php echo build_heading(null, false); ?>
        <ul class="nav nav-tabs">
            <li class="active"><a href="#nday" data-toggle="tab"><?php echo __('nday'); ?></a></li>
            <li><a href="#nweek" data-toggle="tab"><?php echo __('nweek'); ?></a></li>
            <li><a href="#n1" data-toggle="tab"><?php echo __('n1'); ?></a></li>
            <li><a href="#n2" data-toggle="tab"><?php echo __('n2'); ?></a></li>
            <li><a href="#n3" data-toggle="tab"><?php echo __('n3'); ?></a></li>
            <li><a href="#n4" data-toggle="tab"><?php echo __('n4'); ?></a></li>
            <li><a href="#nmonth" data-toggle="tab"><?php echo __('nmonth'); ?></a></li>
            <li><a href="#nall" data-toggle="tab"><?php echo __('nall'); ?></a></li>
        </ul>
    </div>
    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="nday">

                <div class="table-responsive">
                    
                    <?php if($info): ?> 
                        <table class="table table-bordered">
                            <thead>
                                <th>病种</th>
                                <th>消费</th>
                                <th>均价</th>
                                <th>点击量</th>
                                <th>展现量</th>
                                <th>点击率</th>
                                <th>对话</th>
                                <th>有效对话</th>
                                <th>预约率</th>
                                <th>到诊率</th>
                                <th>对话成本</th>
                                <th>预约成本</th>
                                <th>到诊成本</th>
                            </thead>
                            <tbody>
                                <?php if(is_array($info) || $info instanceof \think\Collection || $info instanceof \think\Paginator): $i = 0; $__LIST__ = $info;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$bz): $mod = ($i % 2 );++$i;?>
                                <tr>
                                    <td><?php echo $bz['name']; ?></td>
                                    <td><?php echo $bz['xiaofei']; ?></td>
                                    <td><?php echo $bz['junjia']; ?></td>
                                    <td><?php echo $bz['dianji']; ?></td>
                                    <td><?php echo $bz['zhanxian']; ?></td>
                                    <td><?php echo toFloat($bz['dianjilv']); ?></td>
                                    <td><?php echo $bz['duihua']; ?></td>
                                    <td><?php echo $bz['youxiao']; ?></td>
                                    <td><?php echo $bz['yuyue']; ?></td>
                                    <td><?php echo $bz['daozheng']; ?></td>
                                    <td><?php echo $bz['dhcb']; ?></td>
                                    <td><?php echo $bz['yycb']; ?></td>
                                    <td><?php echo $bz['dzcb']; ?></td>
                                </tr>
                                <?php endforeach; endif; else: echo "" ;endif; ?>
                            </tbody>
                        </table>
                    <?php else: ?> <a href="<?php echo url('contents/index'); ?>" class="btn btn-success">点击上传</a>
                    <?php endif; ?>
                </div>

            </div>
            <div class="tab-pane fade" id="nweek">
                <div class="row">
                    <div class="col-xs-12">
                        
                        <?php if($weekinfo): ?> 
                            <table class="table table-bordered">
                                <thead>
                                    <th>病种</th>
                                    <th>消费</th>
                                    <th>均价</th>
                                    <th>点击量</th>
                                    <th>展现量</th>
                                    <th>点击率</th>
                                    <th>对话</th>
                                    <th>有效对话</th>
                                    <th>预约率</th>
                                    <th>到诊率</th>
                                    <th>对话成本</th>
                                    <th>预约成本</th>
                                    <th>到诊成本</th>
                                </thead>
                                <tbody>
                                    <?php if(is_array($weekinfo) || $weekinfo instanceof \think\Collection || $weekinfo instanceof \think\Paginator): $i = 0; $__LIST__ = $weekinfo;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$bz): $mod = ($i % 2 );++$i;?>
                                    <tr>
                                        <td><?php echo $bz['name']; ?></td>
                                        <td><?php echo $bz['xiaofei']; ?></td>
                                        <td><?php echo $bz['junjia']; ?></td>
                                        <td><?php echo $bz['dianji']; ?></td>
                                        <td><?php echo $bz['zhanxian']; ?></td>
                                        <td><?php echo toFloat($bz['dianjilv']); ?></td>
                                        <td><?php echo $bz['duihua']; ?></td>
                                        <td><?php echo $bz['youxiao']; ?></td>
                                        <td><?php echo $bz['yuyue']; ?></td>
                                        <td><?php echo $bz['daozheng']; ?></td>
                                        <td><?php echo $bz['dhcb']; ?></td>
                                        <td><?php echo $bz['yycb']; ?></td>
                                        <td><?php echo $bz['dzcb']; ?></td>
                                    </tr>
                                    <?php endforeach; endif; else: echo "" ;endif; ?>
                                </tbody>
                            </table>
                        <?php else: ?> 本周报表
                        <?php endif; ?>
                        
                    </div>
                </div>
            </div>
            <div class="tab-pane fade" id="n1">
                <div class="row">
                    <div class="col-xs-12">
                        第一周报表
                    </div>
                </div>
            </div>
            <div class="tab-pane fade" id="n2">
                <div class="row">
                    <div class="col-xs-12">
                        第二周报表
                    </div>
                </div>
            </div>
            <div class="tab-pane fade" id="n3">
                <div class="row">
                    <div class="col-xs-12">
                        第三周报表
                    </div>
                </div>
            </div>
            <div class="tab-pane fade" id="n4">
                <div class="row">
                    <div class="col-xs-12">
                        第四周报表
                    </div>
                </div>
            </div>
            <div class="tab-pane fade" id="nmonth">
                <div class="row">
                    <div class="col-xs-12">
                        月份报表
                    </div>
                </div>
            </div>
            <div class="tab-pane fade" id="nall">
                <div class="row">
                    <div class="col-xs-12">
                        汇总报表
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <script src="/assets/js/require<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js" data-main="/assets/js/require-backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js?v=<?php echo htmlentities($site['version']); ?>"></script>
    </body>
</html>